package com.qk.service;

import com.qk.common.PageResult;
import com.qk.entity.Activity;

import java.util.List;

public interface ActivityService {
    PageResult<Activity> pageActivities(String channel, String type, String status, Integer page, Integer pageSize);

    void removeById(Integer id);

    void saveActivity(Activity activity);

    Activity getActivityById(Integer id);

    void updateActivity(Activity activity);

    List<Activity> listActivitiesByType(String type);
}
